<?php
//define("CDN_PATH","/data0/dk/cdn/host");
$basePath = rtrim(CDN_PATH,"/");
//define("CDN_HOST","http://web-happy.foundao.com/host");
$baseHttp = rtrim(CDN_HOST,"/");

//图片上传
$config["upload"]["image"] = array(
    'savehttp'=>$baseHttp."/image",
    'savepath'=>$basePath."/image",
    'uploadpath'=>$basePath.'/image',
    'filename'=>time().rand(1000,10000),
    'allowtype'=>'*'
);
//视频上传
$config["upload"]["video"] = array(
    'savehttp'=>$baseHttp."/video",
    'savepath'=>$basePath."/video",
    'uploadpath'=>$basePath.'/video',
    'filename'=>time().rand(1000,10000),
    'allowtype'=>'*'
);
//音频上传
$config["upload"]["audio"] = array(
    'savehttp'=>$baseHttp."/audio",
    'savepath'=>$basePath."/audio",
    'uploadpath'=>$basePath.'/audio',
    'filename'=>time().rand(1000,10000),
    'allowtype'=>'*'
);

